import request from "@/request";
import {POST, GET} from '@/constant'


export const fkType = () => {
    return request({
        url: '/kaohe/typelist',
        method: POST,
    })
}


export const fkList = (data) => {
    return request({
        url: '/kaohe/jishuyichanglist',
        method: POST,
        data,
    })
}

export const fkAdd = (data) => {
    return request({
        url: '/kaohe/addyichang',
        method: POST,
        data,
    })
}

export const fkEdit = (data) => {
    return request({
        url: '/kaohe/edityichang',
        data,
        method: POST,
    })
}
export const fkDelete = (data) => {
    return request({
        url: '/kaohe/delyichang',
        method: POST,
        data
    })
}
